package com.example.design.shejimoshi.action.template.spring;

import org.springframework.stereotype.Component;

@Component
public class Monday extends AbstractTemplate {

    @Override
    public void changeClothesAbstractMethod() {
        System.out.println("今天很热啊 穿短袖吧");
    }

    @Override
    public void haveMealAbstractMethod() {
        System.out.println("早饭吃麦当劳");
    }

    @Override
    public void commuteAbstractMethod() {
        System.out.println("坐地铁去上班");
    }
}

